import request from '@/utils/request'
import paramsObj from "./params.json"
const baseApi = '/dcockpit/rest'
export function getList(params) {
  if(params){
    return request({
      baseApi,
      url: '/cockpitApi/searchListNormResult',
      method: 'post',
      data:Object.assign(paramsObj[params.key],{"key":params})
    })
  }
  
}